import request from './request'

const make = data =>{
    return request.post({
        url:'/pred/task/makeTask',
        data:data
    })
}

const list = data =>{
    return request.post({
        url:'/pred/task/list',
        data:data
    })
}

const remove = data =>{
    return request.post({
        url:'/pred/task/delete',
        data:data
    })
}

const modify = data =>{
    return request.post({
        url:'/pred/task/modify',
        data:data
    })
}

const about = data =>{
    return request.post({
        url:'/pred/task/about',
        data:data
    })
}

export default{
    make,
    list,
    remove,
    modify,
    about
}
